/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background: url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background 0.5s ease-in-out;
}

.weather-app {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 300px;
    max-width: 90%;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

#city-input {
    padding: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}

#search-btn {
    padding: 10px 25px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    width: 100%;
}

#search-btn:hover {
    background: #0056b3;
}

#weather-info {
    margin-top: 25px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#weather-info.show {
    opacity: 1;
}

.weather-item {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.weather-item strong {
    color: #555;
}

.weather-item img {
    vertical-align: middle;
    margin-left: 10px;
}

@media (max-width: 600px) {
    .weather-app {
        padding: 20px;
        width: 90%;
    }

    h1 {
        font-size: 20px;
    }

    .weather-item {
        font-size: 16px;
    }
}
